@import '@/style/variable.scss';
@import '@/style/hairline.scss';

page {
  height: 100%;
  background-color: #faf7fa;
}

.order__status {
  height: 94px;
  background-color: #fff;
  display: flex;
  .status {
    flex: 1;
    font-size: $font-size-md;
    line-height: 94px;
    color: rgba(38, 38, 40, .5);
    text-align: center;
  }
  .curr {
    color: rgba(38, 38, 40, 1);
    position:relative;
  }
  .curr:after{
    content:'';
    width:100px;
    top:90px;
    left:50%;
    margin-left:-50px;
    position:absolute;
    border-bottom:solid 5px $primary;
  }
}

.order__type {
  padding: 38px 24px;
  display: flex;
  .type {
    text-align: center;
    width: 152px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    border-radius: 8px;
    font-size: $sm-font-size;
    margin-right: 14px;
    color: rgba(44, 44, 44, 0.5)
  }
  .curr {
    color: $color;
  }
}

.order__list {
  padding: 0 24px;
}

.order__item {
  border-radius: 16px;
  background-color: #fff;
  padding: 38px 24px;
  margin-bottom:30px;
  .order__goods{
    margin:38px 0;
  }
  .order__box {
    display: flex;
  }
  .flex__1 {
    flex: 1;
  }
  .order__title {
    color: $color;
    font-size: $font-size-md;
  }
  .order__time {
    margin-top: 4px;
    color: $grey;
    font-size: $sm-font-size;
  }
  .order__item-status {
    color: $primary;
    font-size: $sm-font-size;
    line-height: 90px;
  }
  .order__total {
    margin-top: 32px;
    padding-bottom: 32px;
    text-align: right;
    font-size: $default-font-size;
    color: $color;
    border-color: #F2F2F2;
    .bold {
      font-weight: bold;
    }
  }
  .order__action {
    margin: 30px 0 0 0;
    text-align: right;
    .order__btn {
      font-size: $default-font-size;
      display: inline-block;
      padding: 0 36px;
      height: 64px;
      line-height: 64px;
      text-align: center;
      color: $color;
      margin-left: 10px;
      border-radius: 130px;
      border: solid 1px #B2B2B2;
    }
    .main {
      color: $primary;
      border-color: $primary;
    }
    .order__btn-del{
      float:left;
      display: inline-block;
      width:66px;
      height:66px;
      border: solid 1px #B2B2B2;
      border-radius: 66px;
      text-align: center;
      vertical-align: middle;
    }
  }
}

.no_data{
  padding:30px 0;
  text-align: center;
  color:$primary
}

